<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
<a></a>
 <ul th:each="user:${allUserList}">
     <li th:text="${user.id}"></li>
     <li th:text="${user.name}"></li>
     <li th:text="${user.age}"></li>
 </ul>
<table>
   <tr><td>编号</td><td>姓名</td><td>年龄</td></tr>
    <tr th:each="user:${allUserList}"><td th:text="${user.id}"></td><td th:text="${user.name}"></td><td th:text="${user.age}"></td></tr>
</table>
</body>
</html>